package cnpm02.j2ee.group3.logic.dao.impl;

import cnpm02.j2ee.group3.logic.dao.generic.AbstractEntityDao;
import cnpm02.j2ee.group3.model.City;
import cnpm02.j2ee.group3.model.FlightLine;

public interface FlightLineDao extends AbstractEntityDao<FlightLine> {
	final String SELECT_ALL_QUERY = "from FlightLine";
	final String SELECT_FLIGHT_LINE_BY_FROM_AND_TO = "from FlightLine fl where fl.from =:from and fl.to = :to";
	FlightLine selectFlightLineByFromAndTo(City from, City to);
}
